package com.sanniu.service.provider;

import io.jboot.aop.annotation.Bean;
import com.sanniu.service.UserService;
import com.sanniu.model.User;
import io.jboot.service.JbootServiceBase;


@Bean
public class UserServiceProvider extends JbootServiceBase<User> implements UserService {

    @Override
    public User findByMobile(String mobile) {
        return DAO.findFirstByColumn("mobile", mobile);
    }
}